package com.dyit.mapper;

import com.dyit.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICustomerMapper {
    void save(Customer customer);
    void delete(int id);
    void update(Customer customer);
    List<Customer> findAll();
    Customer findCustomerByPhoneAndPassword(@Param("phone")String phone, @Param("password") String password);
}
